package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 续班表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("renew_class")
@ApiModel(value = "RenewClass对象", description = "续班表")
public class RenewClass implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderDetailId;

    @ApiModelProperty("学校id")
    private Long schoolId;

    @ApiModelProperty("老师id")
    private Long teacherId;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("季度")
    private Integer quarterNum;

    @ApiModelProperty("离上一次相隔多个季度")
    private Integer diffNum;

    @ApiModelProperty("是否算隔季的续班人数里，0否，1是")
    private Integer isRenewPerson;

    @ApiModelProperty("续班类型：2春续暑，3暑续秋，4秋续寒，1寒续春")
    private Integer type;

    private String typeName;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("续班是否成功，1成功，0失败，2订单作废，3退费")
    private Integer status;

    @ApiModelProperty("备注：1成功，2报名新生，3转课剩余课时不够")
    private String remark;

    @ApiModelProperty("订单类型：1报名3转课")
    private Integer orderType;

    @ApiModelProperty("创建人")
    private Long createdId;

    @ApiModelProperty("缴费订单状态：0无，1确认到账，2订单作废，3退费")
    private Integer orderStatus;

    @ApiModelProperty("是否删除")
    private Integer deleted;

    @ApiModelProperty("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty("deleted_at")
    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getDiffNum() {
        return diffNum;
    }

    public void setDiffNum(Integer diffNum) {
        this.diffNum = diffNum;
    }
    public Integer getIsRenewPerson() {
        return isRenewPerson;
    }

    public void setIsRenewPerson(Integer isRenewPerson) {
        this.isRenewPerson = isRenewPerson;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "RenewClass{" +
            "id=" + id +
            ", orderDetailId=" + orderDetailId +
            ", schoolId=" + schoolId +
            ", teacherId=" + teacherId +
            ", courseId=" + courseId +
            ", subjectsId=" + subjectsId +
            ", studentId=" + studentId +
            ", quarterNum=" + quarterNum +
            ", diffNum=" + diffNum +
            ", isRenewPerson=" + isRenewPerson +
            ", type=" + type +
            ", typeName=" + typeName +
            ", yearPart=" + yearPart +
            ", status=" + status +
            ", remark=" + remark +
            ", orderType=" + orderType +
            ", createdId=" + createdId +
            ", orderStatus=" + orderStatus +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
